<script setup>
import { RouterLink, RouterView } from "vue-router";
</script>

<template>
  <p>
    <router-link to="/home"> 首页</router-link>
    <router-link to="/about"> 关于</router-link>
    <router-link to="/user">用户</router-link>
    <router-link to="/cart">购物车</router-link>
    <router-link to="/count">计数器页面</router-link>
  </p>

  <RouterView />
</template>

<style scoped>
</style>
